package com.shoppingCart.service;

import com.shoppingCart.dataobject.Parking;
import com.shoppingCart.mapper.ParkingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * create By lihao
 */
@Service
public class ParkingService {

    @Autowired
    private ParkingMapper parkingMapper;
    /**
     * 根据经纬度查询停车桩
     * 参数：lng，lat
     * */
    public List<Parking> findParkingByPlace(Map<String,Object> map){
        return parkingMapper.findParkingByPlace(map);
    }

}
